package com.rich.paas.namespace;

/**
 * redis key
 *
 * @author chenhao
 * @version 1.0
 * @date 2018/4/25 上午12:07
 */
public interface RedisNamespace {

    String SEPARATOR = ":";

    String ROOT = "ia";

    /**
     * 微信公众号ticket
     */
    String WX_MP_TICKET = ROOT + SEPARATOR + "wx_mp_ticket";

    /**
     * 微信公众号access_token
     */
    String WX_MP_ACCESS_TOKEN = ROOT + SEPARATOR + "wx_mp_access_token";

    /**
     * 短信验证码
     */
    String SMS_CAPTCHA = ROOT + SEPARATOR + "sms_captcha";

    /**
     * 用来控制1分钟只能发送一次验证码的key
     */
    String SMS_CAPTCHA_LIMIT = ROOT + SEPARATOR + "sms_captcha_limit";

    /**
     * 一天短信总数key
     */
    String SMS_COUNT_DAY =  ROOT + SEPARATOR + "sms_count_day";
}
